const menuList = [
  {
    path: '/index',
    name: '主页',
    icon: 'home',
  },
  {
    path: '/blog',
    name: '博客',
    icon: 'snippets',
    groupChildren: [
      {
        name: '前端',
        children: [
          {
            path: '/d',
            name: '《高效前端》笔记',
          },
          {
            path: '/e',
            name: '前端进阶',
          },
          {
            path: '/f',
            name: '前端基础',
          },
          {
            path: '/g',
            name: '书写规范',
          },
        ],
      },
      {
        name: '理财',
        children: [
          {
            path: '/a',
            name: '证券类基金投资价值',
          },
          {
            path: '/b',
            name: '家电行业投资价值',
          },
          {
            path: '/c',
            name: '债券基金怎么买',
          },
        ],
      },
    ],
  },
  {
    path: '/Book',
    name: '读书',
    icon: 'carry-out',
    children: [
      {
        path: '/Book/Booktop',
        name: '豆瓣读书 Top 250',
      },
      {
        path: '/Book/Share',
        name: '分享',
      },
      {
        path: '/Book/ShareTwo',
        name: '分享2',
      },
    ],
  },
  {
    path: '/Tool',
    name: '小工具',
    icon: 'tool',
    children: [
      {
        path: '/Tool/Web',
        name: '前端',
      },
      {
        path: '/Tool/Economy',
        name: '理财',
      },
      {
        path: '/Tool/Card',
        name: '卡片',
      },
      {
        path: '/Tool/Shape',
        name: 'CSS形状',
      },
    ],
  },
  {
    path: '/Other',
    name: '其他',
    icon: 'like',
    children: [
      {
        path: '/Other/CSS',
        name: 'CSS',
      },
      {
        path: '/Other/GalaxyAnimation',
        name: '太阳系动画',
      },
    ],
  },
  {
    path: '/User',
    name: '关于',
    icon: 'user',
    children: [
      {
        path: '/User',
        name: '个人中心',
      },
      {
        path: `${location.origin}/static/html/resume.html`,
        name: '简历',
        open: true,
      },
    ],
  },
];

export default {
  menuList,
};

